<?php 
include 'common.php';
$_SESSION['code'] = str_rand();
//  id 是身份证好
?>
<!DOCTYPE html>
<html>
<head>
	<link href="<?=$website['public'];?>/admin/base.css" rel="stylesheet" type="text/css" />
	<link href="<?=$website['public'];?>/admin/adduser.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="adduser">
	<div class="biaodan">
		<form method="post" action="judge/adduser_if.php">
		<div class="li">
		    <label>用户名：</label>
		    <input type="text" name="user_name" class="input">
		</div>
		<div class="li">
		    <label>密码:</label>
		    <input type="password" name="password" class="input">
		    </div>
		    <div class="li">
		    <label>确定密码:</label>
		    <input type="password" name="password1" class="input">
		    </div>
		    <div class="li">
		    <label>电邮：</label>
		    <input type="text" name="email" class="input">
		    </div>
		    <div class="li">
		    <label>姓名：</label>
		    <input type="text" name="name" class="input">
		    </div>
		    <div class="li">
		    <label>身份证号：</label>
		    <input type="text" name="id" class="input">
		    </div>
		    <div class="li">
		    <label>手机号:</label>
		    <input type="text" name="phone" class="input">
		    </div>
		    <div class="li">
		    <label>性别：</label>
		    <input type="radio" name="gender" value="female">女性
		    <input type="radio" name="gender" value="male">男性
		    </div>
		    <div class="li">
				<label>验证码</label>
				<input type="text" name="code" class="input input_code">
				<a href="">
				<input type="button" name="code1" class="code" value="<?php echo $_SESSION['code'];?>">
				</a>
			</div>
			<button class="button" type="submit">注 册</button>
		</form>
	</div>
</div>
</body>
</html>